<?php


namespace api\zhengmaotong\controller;


use api\zhengmaotong\model\NavModel;
use cmf\controller\RestBaseController;

class NavController extends RestBaseController
{
    public function index()
    {
        $list = NavModel::with('ejcd')
            ->where('p_id','0')
            ->select();
        $this->success('导航菜单列表',$list);
    }
}